#include <iostream>
#include <vector>
using namespace std;

void printvector (const vector <int> & V)
 {cout <<"V:[";
  for(int i=0; i<V.size(); i++)
   {if(i>0) cout <<" "; cout <<V[i];
    }
  cout <<"]"<<endl;
 }




void difinishn (const vector <int> &V, int &k, int c )
 {for(int i=0; i<V.size(); i++)
   {if(V[i]==c) k=k+1;
    }
 }

int main()
 { int k=0; int s; int  c; vector <int> V;
   cout <<"vvedite chislo :  ";
   cin >> c;

   while (cin >> s){V.push_back(s);}
   printvector(V);
   difinishn(V,k,c);
   if (k>=1) cout << "Chislo prinadlezhit massivu"<< endl;
     else cout << "Chislo ne prinadlezhit massivu"<<endl;
 }
